<template>
  <div>
    <svg-icon
      icon-class="fullscreen"
      class="fullscreen"
      @click="toggleScreen"
    />
  </div>
</template>
<script>
import screenfull from 'screenfull'
export default {
  name: 'ScreenFull',
  data() {
    return {

    }
  },
  computed: {
  },
  created() {
  },
  methods: {
    toggleScreen() {
      screenfull.toggle()
    }
  }
}
</script>
<style lang="scss" scoped>
.fullscreen {
  width: 20px;
  height: 20px;
  color: #fff;
  cursor: pointer;
}
</style>
